package com.example.designpartten.handler;

/**
 * @author hql
 * @date 2020/4/13 17:35
 */
public class Client {
    public static void main(String[] args) {

        Handler handler1 = new Handler();
        Handler handler2 = new Handler();

        handler1.setNextHandler(handler2);
        handler1.getResponse("hahahha");
    }
}
